package ui.activity.profit.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.profit.biz.ProfitDetailsBiz;
import ui.activity.profit.contract.ProfitDetailsContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class ProfitDetailsModule {
    private ProfitDetailsContract.View view;

    public ProfitDetailsModule(ProfitDetailsContract.View view) {
        this.view = view;
    }

    @Provides
    public ProfitDetailsContract.View provideView() {
        return view;
    }

    @Provides
    public ProfitDetailsBiz provideBiz() {
        return new ProfitDetailsBiz();
    }
}